package com.mapper;

import com.mybatisflex.core.BaseMapper;
import com.entity.BUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 管理员表 映射层。
 *
 * @author admin
 * @since 2024-05-17
 */
@Mapper
public interface BUserMapper extends BaseMapper<BUser> {
    @Select("SELECT * FROM b_user WHERE username=#{username} and password=#{password}")
    public BUser userLogin(BUser bUser);
}
